﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Usr.Application.Contracts.Dtos.Warehouse
{
    /// <summary>
    /// 云仓库存日志列表
    /// </summary>
    public class WarehouseLogDto : IDto
    {
        /// <summary>
        /// 库存Id
        /// </summary>
        public long WarehouseId { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 规格ID
        /// </summary>
        public long SizeId { get; set; }

        /// <summary>
        /// 规格名称
        /// </summary>
        public string SizeName { get; set; }

        /// <summary>
        /// 变化类型1：入库，2：出库
        /// </summary>
        public int ChangeType { get; set; }

        /// <summary>
        /// 变化量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 变化前数量
        /// </summary>
        public int ChangeFrontCoun { get; set; }

        /// <summary>
        /// 变化后数量
        /// </summary>
        public int ChangeLaterCoun { get; set; }

        /// <summary>
        /// 变化时间
        /// </summary>
        public DateTime ChangeTime { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }

        /// <summary>
        /// 关联单据ID
        /// </summary>
        public long? OrderId { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public long? Operator { get; set; }
    }
}
